<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>EquTemper: DDHC::Model Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="$relpath<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="$relpath<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>/search.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<div id="top"><!-- do not remove this div! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">EquTemper&#160;<span id="projectnumber">1.01</span></div>
   <div id="projectbrief">An equation editor.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- Generated by Doxygen 1.7.4 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<script type="text/javascript">
function hasClass(ele,cls) {
  return ele.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)'));
}

function addClass(ele,cls) {
  if (!this.hasClass(ele,cls)) ele.className += " "+cls;
}

function removeClass(ele,cls) {
  if (hasClass(ele,cls)) {
    var reg = new RegExp('(\\s|^)'+cls+'(\\s|$)');
    ele.className=ele.className.replace(reg,' ');
  }
}

function toggleVisibility(linkObj) {
 var base = linkObj.getAttribute('id');
 var summary = document.getElementById(base + '-summary');
 var content = document.getElementById(base + '-content');
 var trigger = document.getElementById(base + '-trigger');
 if ( hasClass(linkObj,'closed') ) {
   summary.style.display = 'none';
   content.style.display = 'block';
   trigger.src = 'open.png';
   removeClass(linkObj,'closed');
   addClass(linkObj,'opened');
 } else if ( hasClass(linkObj,'opened') ) {
   summary.style.display = 'block';
   content.style.display = 'none';
   trigger.src = 'closed.png';
   removeClass(linkObj,'opened');
   addClass(linkObj,'closed');
 }
 return false;
}
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('class_d_d_h_c_1_1_model.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pri-types">Private Types</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="#pri-static-attribs">Static Private Attributes</a>  </div>
  <div class="headertitle">
<div class="title">DDHC::Model Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="DDHC::Model" -->
<p>class representing the root for all debug elements  
 <a href="class_d_d_h_c_1_1_model.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="model__ddhc_8h_source.html">model_ddhc.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png"/> Collaboration diagram for DDHC::Model:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="class_d_d_h_c_1_1_model__coll__graph.png" border="0" usemap="#_d_d_h_c_1_1_model_coll__map" alt="Collaboration graph"/></div>
<map name="_d_d_h_c_1_1_model_coll__map" id="_d_d_h_c_1_1_model_coll__map">
<area shape="rect" id="node2" href="class_d_d_h_c_1_1_classes.html" title="embedded inside the DDHC::Model class; manages instances grouped by class name" alt="" coords="5,125,123,155"/><area shape="rect" id="node4" href="class_d_d_h_c_1_1_mdl_item.html" title="the QModelIndex has internalPointer() either NULL or pointing to a class tha inherits this one..." alt="" coords="81,25,199,55"/><area shape="rect" id="node8" href="class_d_d_h_c_1_1_tree.html" title="DDHC::Tree" alt="" coords="147,125,243,155"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="class_d_d_h_c_1_1_model-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_d_h_c_1_1_model.html#abc53afdd653897dba5d4096102ceba6e">printTree</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">debug the tree  <a href="#abc53afdd653897dba5d4096102ceba6e"></a><br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Reimplemented from QAbstractItemModel</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QModelIndex&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_d_h_c_1_1_model.html#af52699f56341975db10f5e268fb96d46">index</a> (int row, int column, const QModelIndex &amp;parent=QModelIndex()) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QModelIndex&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_d_h_c_1_1_model.html#ad42ea4d5cd45376c48852e484614d3e9">parent</a> (const QModelIndex &amp;child) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_d_h_c_1_1_model.html#a5ae9d26acfb5d6df7bd52db3fa33ea2a">rowCount</a> (const QModelIndex &amp;parent=QModelIndex()) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_d_h_c_1_1_model.html#a06bf8f8a9c6b5c4fffd4ef14c2470559">columnCount</a> (const QModelIndex &amp;parent=QModelIndex()) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QVariant&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_d_h_c_1_1_model.html#ac17f7fabb4e11b580a54cfeca05108bd">data</a> (const QModelIndex &amp;index, int role=Qt::DisplayRole) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_d_h_c_1_1_model.html#a75377992605d3b51235020a5d630a357">setData</a> (const QModelIndex &amp;index, const QVariant &amp;value, int role=Qt::EditRole)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QVariant&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_d_h_c_1_1_model.html#a152f102133b71d54323a825bf2ca7c0c">headerData</a> (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Qt::ItemFlags&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_d_h_c_1_1_model.html#a7dcb620b13ec960c7f512aced148def0">flags</a> (const QModelIndex &amp;index) const </td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_d_d_h_c_1_1_model.html">Model</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_d_h_c_1_1_model.html#a087ceafaf5b66acd8a31094d9626a2a2">mInst</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">get the one and running instance  <a href="#a087ceafaf5b66acd8a31094d9626a2a2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static QTreeView *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_d_h_c_1_1_model.html#a10b62673f451fe79d9fba0a0543430f9">mTree</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">get the one and only tree view that's associated with the model  <a href="#a10b62673f451fe79d9fba0a0543430f9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_d_h_c_1_1_model.html#a38eddd054f38368408ccb96519eab427">setMTree</a> (QTreeView *new_t)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">set the one and only tree view that's associated with the model  <a href="#a38eddd054f38368408ccb96519eab427"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_d_h_c_1_1_model.html#a9583593d6dcc76e7b938c04d3d77e81b">addClassInstByName</a> (QString s_cl_name, <a class="el" href="class_d_d_h_c_1_1_ghost.html">Ghost</a> *instance)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">appends a class instance to it's name group  <a href="#a9583593d6dcc76e7b938c04d3d77e81b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_d_h_c_1_1_model.html#a9179a37cfbef557946416f60dcdd5b57">addTopLevelTreeClass</a> (<a class="el" href="class_d_d_h_c_1_1_ghost.html">Ghost</a> *instance)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">appends a class instance to the main tree  <a href="#a9179a37cfbef557946416f60dcdd5b57"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_d_h_c_1_1_model.html#ae500e8ddb0aea210a9a2235cd667a49c">appendTreeInst</a> (<a class="el" href="class_d_d_h_c_1_1_c_inst.html">CInst</a> *inst_to_move)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">append an tree class as top level  <a href="#ae500e8ddb0aea210a9a2235cd667a49c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_d_h_c_1_1_model.html#a2cf7b5e14916d7d5f3a0365e392bf7af">endRowIns</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">end row insertion  <a href="#a2cf7b5e14916d7d5f3a0365e392bf7af"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_d_h_c_1_1_model.html#a41a9814d31a4166711e3f0904f54abff">beginAppendRow_InParent</a> (<a class="el" href="class_d_d_h_c_1_1_mdl_item.html">MdlItem</a> *the_it)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">start row insertion in a regular item  <a href="#a41a9814d31a4166711e3f0904f54abff"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_d_h_c_1_1_model.html#a9193096b691275ecb7f63f82b114ccab">beginAppendRow_T</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">start row insertion in tree, at top level (hierarchical)  <a href="#a9193096b691275ecb7f63f82b114ccab"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_d_h_c_1_1_model.html#a0c505c7a66954dac799201ce3ec91d6b">beginAppendRow_C</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">start row insertion in class list (hosted in model - by name)  <a href="#a0c505c7a66954dac799201ce3ec91d6b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_d_h_c_1_1_model.html#a4dd1cbeaac97e8309076fcbbb8c20e59">beginAppendRow_ClInst</a> (<a class="el" href="class_d_d_h_c_1_1_c_inst.html">CInst</a> *the_cl)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">start row insertion in a tree class instance (hierarchical)  <a href="#a4dd1cbeaac97e8309076fcbbb8c20e59"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_d_h_c_1_1_model.html#a677a1a0192eaa5de2f0cfdcbce58ddba">beginAppendRow_AInst</a> (<a class="el" href="class_d_d_h_c_1_1_a_class.html">AClass</a> *the_cl)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">start row insertion in aclass parented in class list (by name)  <a href="#a677a1a0192eaa5de2f0cfdcbce58ddba"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_d_h_c_1_1_model.html#a003fc9ff3ecd346036cf26440a51e26a">remGhost</a> (<a class="el" href="class_d_d_h_c_1_1_ghost.html">Ghost</a> *the_inst)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">one of the <a class="el" href="class_d_d_h_c_1_1_ghost.html" title="class to be inherited by the classes that need to be tracked">Ghost</a> instances is being deleted  <a href="#a003fc9ff3ecd346036cf26440a51e26a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_d_h_c_1_1_model.html#aa96459983c0e50f593262c8e072a65c8">remItem</a> (<a class="el" href="class_d_d_h_c_1_1_c_inst.html">CInst</a> *the_inst)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">removes an item from the tree; the item is delete-d  <a href="#aa96459983c0e50f593262c8e072a65c8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_d_h_c_1_1_model.html#a0096581f6edabc89ac34a5fbf4b51460">mTree_AdjCols</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">enshure that all columns are visible  <a href="#a0096581f6edabc89ac34a5fbf4b51460"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_d_h_c_1_1_model.html#afbe2506aa76f1e77763302f396cca2cb">mTree_ExpandAll</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">enshure that all tree nodes are visible  <a href="#afbe2506aa76f1e77763302f396cca2cb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_d_h_c_1_1_model.html#a2efa682eaae31fd5dcd311e2abf88a5f">mTree_Expand</a> (<a class="el" href="class_d_d_h_c_1_1_mdl_item.html">MdlItem</a> *itm)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">enshure that one tree node is visible  <a href="#a2efa682eaae31fd5dcd311e2abf88a5f"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pri-types"></a>
Private Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_d_h_c_1_1_model.html#a4d3de45d5a8593aa76b8c530cfee55b4">TpLvIndex</a> { <a class="el" href="class_d_d_h_c_1_1_model.html#a4d3de45d5a8593aa76b8c530cfee55b4a48f9bd25102d5d8fc8beca9f1f7791b9">IDX_TREE</a> =  0, 
<a class="el" href="class_d_d_h_c_1_1_model.html#a4d3de45d5a8593aa76b8c530cfee55b4a1f9594010d0aea6ed56b043060e22acf">IDX_CLASSES</a>, 
<a class="el" href="class_d_d_h_c_1_1_model.html#a4d3de45d5a8593aa76b8c530cfee55b4ad456b83abe4034a4230528b796993004">TOP_LEVEL_COUNT</a>
 }</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">the top level items have positions assigned here  <a href="class_d_d_h_c_1_1_model.html#a4d3de45d5a8593aa76b8c530cfee55b4">More...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_d_h_c_1_1_model.html#aa26cb9f39a3e0356152a57a2d2ecfaef">Model</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">constructor  <a href="#aa26cb9f39a3e0356152a57a2d2ecfaef"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_d_h_c_1_1_model.html#a0e850bac7d138c7ad5a33613dec940dc">~Model</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">destructor  <a href="#a0e850bac7d138c7ad5a33613dec940dc"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_d_d_h_c_1_1_tree.html">Tree</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_d_h_c_1_1_model.html#afe800811bab6c46b245a641bd6c027d0">tree_lst</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">list of documents embedded here  <a href="#afe800811bab6c46b245a641bd6c027d0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_d_d_h_c_1_1_classes.html">Classes</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_d_h_c_1_1_model.html#aeaf97bd3fecf1fb0df3ae42196f92b3a">clst_lst</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">list of classes embedded here  <a href="#aeaf97bd3fecf1fb0df3ae42196f92b3a"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pri-static-attribs"></a>
Static Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_d_d_h_c_1_1_model.html">Model</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_d_h_c_1_1_model.html#a26ad932b5d85d79661f80979df1dc1ce">uniq_model_instance</a> = 0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">the one and only instance  <a href="#a26ad932b5d85d79661f80979df1dc1ce"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static QTreeView *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_d_h_c_1_1_model.html#a4902f2b2eaaadf8d456c883b5e793bdb">assoc_tree</a> = 0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">the treeview that is associated with the model  <a href="#a4902f2b2eaaadf8d456c883b5e793bdb"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>class representing the root for all debug elements </p>
<p>This may be used as an input for standard views.</p>
<p>Only one instance of this class is needed and allowed. External world calls <a class="el" href="class_d_d_h_c_1_1_model.html#a087ceafaf5b66acd8a31094d9626a2a2" title="get the one and running instance">DDHC::Model::mInst()</a> and this either constructs one or returns the existing one.</p>
<p>Top level items are represented by:</p>
<ul>
<li>documents: these are the root of hierarchical representation and will hold the tree of instances with father-son relation; at first level it holds the document instances</li>
<li>classes: this node holds the list of class instances by type; each kid will be an individual class and it's kids will be instances of that class that were created and not yet destroyed</li>
</ul>
<p>Example:</p>
<ul>
<li>documents<ul>
<li>document_1<ul>
<li>mdi class</li>
<li>viewports<ul>
<li>viewport 1</li>
<li>viewport 2</li>
</ul>
</li>
<li>scene</li>
</ul>
</li>
<li>document_2<ul>
<li>viewports<ul>
<li>viewport 1</li>
<li>viewport 2</li>
</ul>
</li>
<li>scene</li>
</ul>
</li>
</ul>
</li>
<li>classes<ul>
<li>class_A<ul>
<li>class_A_instance_1</li>
<li>class_A_instance_2</li>
<li>class_A_instance_3</li>
<li>class_A_instance_4</li>
</ul>
</li>
<li>class_B<ul>
<li>class_B_instance_1</li>
<li>class_B_instance_2</li>
<li>class_B_instance_3</li>
<li>class_B_instance_4</li>
</ul>
</li>
</ul>
</li>
</ul>
<p>To support the management of the items, the class provides functions to add elements to the model:</p>
<ul>
<li><a class="el" href="class_d_d_h_c_1_1_model.html#a9583593d6dcc76e7b938c04d3d77e81b" title="appends a class instance to it&#39;s name group">addClassInstByName()</a> is used to append instances to the list of classes. If the class with that particular name is not already present in the list it is first added</li>
<li><a class="el" href="class_d_d_h_c_1_1_model.html#a9179a37cfbef557946416f60dcdd5b57" title="appends a class instance to the main tree">addTopLevelTreeClass()</a> appends an instance as top level in the tree of classes. This status may be later modified to make the instance a child of another one </li>
</ul>

<p>Definition at line <a class="el" href="model__ddhc_8h_source.html#l00116">116</a> of file <a class="el" href="model__ddhc_8h_source.html">model_ddhc.h</a>.</p>
</div><hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="a4d3de45d5a8593aa76b8c530cfee55b4"></a><!-- doxytag: member="DDHC::Model::TpLvIndex" ref="a4d3de45d5a8593aa76b8c530cfee55b4" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_d_d_h_c_1_1_model.html#a4d3de45d5a8593aa76b8c530cfee55b4">DDHC::Model::TpLvIndex</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>the top level items have positions assigned here </p>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a4d3de45d5a8593aa76b8c530cfee55b4a48f9bd25102d5d8fc8beca9f1f7791b9"></a><!-- doxytag: member="IDX_TREE" ref="a4d3de45d5a8593aa76b8c530cfee55b4a48f9bd25102d5d8fc8beca9f1f7791b9" args="" -->IDX_TREE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a4d3de45d5a8593aa76b8c530cfee55b4a1f9594010d0aea6ed56b043060e22acf"></a><!-- doxytag: member="IDX_CLASSES" ref="a4d3de45d5a8593aa76b8c530cfee55b4a1f9594010d0aea6ed56b043060e22acf" args="" -->IDX_CLASSES</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a4d3de45d5a8593aa76b8c530cfee55b4ad456b83abe4034a4230528b796993004"></a><!-- doxytag: member="TOP_LEVEL_COUNT" ref="a4d3de45d5a8593aa76b8c530cfee55b4ad456b83abe4034a4230528b796993004" args="" -->TOP_LEVEL_COUNT</em>&nbsp;</td><td>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="model__ddhc_8h_source.html#l00125">125</a> of file <a class="el" href="model__ddhc_8h_source.html">model_ddhc.h</a>.</p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aa26cb9f39a3e0356152a57a2d2ecfaef"></a><!-- doxytag: member="DDHC::Model::Model" ref="aa26cb9f39a3e0356152a57a2d2ecfaef" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Model::Model </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>constructor </p>

<p>Definition at line <a class="el" href="model__ddhc_8cc_source.html#l00068">68</a> of file <a class="el" href="model__ddhc_8cc_source.html">model_ddhc.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a0e850bac7d138c7ad5a33613dec940dc"></a><!-- doxytag: member="DDHC::Model::~Model" ref="a0e850bac7d138c7ad5a33613dec940dc" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Model::~Model </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>destructor </p>

<p>Definition at line <a class="el" href="model__ddhc_8cc_source.html#l00080">80</a> of file <a class="el" href="model__ddhc_8cc_source.html">model_ddhc.cc</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a9583593d6dcc76e7b938c04d3d77e81b"></a><!-- doxytag: member="DDHC::Model::addClassInstByName" ref="a9583593d6dcc76e7b938c04d3d77e81b" args="(QString s_cl_name, Ghost *instance)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void DDHC::Model::addClassInstByName </td>
          <td>(</td>
          <td class="paramtype">QString&#160;</td>
          <td class="paramname"><em>s_cl_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_d_d_h_c_1_1_ghost.html">Ghost</a> *&#160;</td>
          <td class="paramname"><em>instance</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>appends a class instance to it's name group </p>

<p>Definition at line <a class="el" href="model__ddhc_8h_source.html#l00259">259</a> of file <a class="el" href="model__ddhc_8h_source.html">model_ddhc.h</a>.</p>

<p><div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-1-trigger" src="closed.png"/> Here is the call graph for this function:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><img src="class_d_d_h_c_1_1_model_a9583593d6dcc76e7b938c04d3d77e81b_cgraph.png" border="0" usemap="#class_d_d_h_c_1_1_model_a9583593d6dcc76e7b938c04d3d77e81b_cgraph" alt=""/></div>
<map name="class_d_d_h_c_1_1_model_a9583593d6dcc76e7b938c04d3d77e81b_cgraph" id="class_d_d_h_c_1_1_model_a9583593d6dcc76e7b938c04d3d77e81b_cgraph">
<area shape="rect" id="node3" href="class_d_d_h_c_1_1_model.html#a087ceafaf5b66acd8a31094d9626a2a2" title="get the one and running instance" alt="" coords="324,5,471,35"/><area shape="rect" id="node5" href="class_d_d_h_c_1_1_classes.html#a65dfa07ef2f8214c03c1de6f4c8e6cfc" title="finds this class; if it is not found creates a new entry" alt="" coords="296,59,499,88"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a9179a37cfbef557946416f60dcdd5b57"></a><!-- doxytag: member="DDHC::Model::addTopLevelTreeClass" ref="a9179a37cfbef557946416f60dcdd5b57" args="(Ghost *instance)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void DDHC::Model::addTopLevelTreeClass </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_d_d_h_c_1_1_ghost.html">Ghost</a> *&#160;</td>
          <td class="paramname"><em>instance</em></td><td>)</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>appends a class instance to the main tree </p>

<p>Definition at line <a class="el" href="model__ddhc_8h_source.html#l00268">268</a> of file <a class="el" href="model__ddhc_8h_source.html">model_ddhc.h</a>.</p>

<p><div id="dynsection-2" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-2-trigger" src="closed.png"/> Here is the call graph for this function:</div>
<div id="dynsection-2-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-2-content" class="dyncontent" style="display:none;">
<div class="center"><img src="class_d_d_h_c_1_1_model_a9179a37cfbef557946416f60dcdd5b57_cgraph.png" border="0" usemap="#class_d_d_h_c_1_1_model_a9179a37cfbef557946416f60dcdd5b57_cgraph" alt=""/></div>
<map name="class_d_d_h_c_1_1_model_a9179a37cfbef557946416f60dcdd5b57_cgraph" id="class_d_d_h_c_1_1_model_a9179a37cfbef557946416f60dcdd5b57_cgraph">
<area shape="rect" id="node3" href="class_d_d_h_c_1_1_tree.html#a92c271d065c25955d8fa540f8b37ece4" title="inserts an item as last kid" alt="" coords="301,5,448,35"/><area shape="rect" id="node5" href="class_d_d_h_c_1_1_model.html#a087ceafaf5b66acd8a31094d9626a2a2" title="get the one and running instance" alt="" coords="301,59,448,88"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ae500e8ddb0aea210a9a2235cd667a49c"></a><!-- doxytag: member="DDHC::Model::appendTreeInst" ref="ae500e8ddb0aea210a9a2235cd667a49c" args="(CInst *inst_to_move)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Model::appendTreeInst </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_d_d_h_c_1_1_c_inst.html">CInst</a> *&#160;</td>
          <td class="paramname"><em>inst_to_move</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>append an tree class as top level </p>
<p>Used by reparent methods to place a class at top level </p>

<p>Definition at line <a class="el" href="model__ddhc_8cc_source.html#l00339">339</a> of file <a class="el" href="model__ddhc_8cc_source.html">model_ddhc.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a677a1a0192eaa5de2f0cfdcbce58ddba"></a><!-- doxytag: member="DDHC::Model::beginAppendRow_AInst" ref="a677a1a0192eaa5de2f0cfdcbce58ddba" args="(AClass *the_cl)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Model::beginAppendRow_AInst </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_d_d_h_c_1_1_a_class.html">AClass</a> *&#160;</td>
          <td class="paramname"><em>the_cl</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>start row insertion in aclass parented in class list (by name) </p>

<p>Definition at line <a class="el" href="model__ddhc_8cc_source.html#l00399">399</a> of file <a class="el" href="model__ddhc_8cc_source.html">model_ddhc.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a0c505c7a66954dac799201ce3ec91d6b"></a><!-- doxytag: member="DDHC::Model::beginAppendRow_C" ref="a0c505c7a66954dac799201ce3ec91d6b" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Model::beginAppendRow_C </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>start row insertion in class list (hosted in model - by name) </p>

<p>Definition at line <a class="el" href="model__ddhc_8cc_source.html#l00367">367</a> of file <a class="el" href="model__ddhc_8cc_source.html">model_ddhc.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a4dd1cbeaac97e8309076fcbbb8c20e59"></a><!-- doxytag: member="DDHC::Model::beginAppendRow_ClInst" ref="a4dd1cbeaac97e8309076fcbbb8c20e59" args="(CInst *the_cl)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Model::beginAppendRow_ClInst </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_d_d_h_c_1_1_c_inst.html">CInst</a> *&#160;</td>
          <td class="paramname"><em>the_cl</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>start row insertion in a tree class instance (hierarchical) </p>

<p>Definition at line <a class="el" href="model__ddhc_8cc_source.html#l00392">392</a> of file <a class="el" href="model__ddhc_8cc_source.html">model_ddhc.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a41a9814d31a4166711e3f0904f54abff"></a><!-- doxytag: member="DDHC::Model::beginAppendRow_InParent" ref="a41a9814d31a4166711e3f0904f54abff" args="(MdlItem *the_it)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Model::beginAppendRow_InParent </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_d_d_h_c_1_1_mdl_item.html">MdlItem</a> *&#160;</td>
          <td class="paramname"><em>the_it</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>start row insertion in a regular item </p>

<p>Definition at line <a class="el" href="model__ddhc_8cc_source.html#l00379">379</a> of file <a class="el" href="model__ddhc_8cc_source.html">model_ddhc.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a9193096b691275ecb7f63f82b114ccab"></a><!-- doxytag: member="DDHC::Model::beginAppendRow_T" ref="a9193096b691275ecb7f63f82b114ccab" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Model::beginAppendRow_T </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>start row insertion in tree, at top level (hierarchical) </p>

<p>Definition at line <a class="el" href="model__ddhc_8cc_source.html#l00356">356</a> of file <a class="el" href="model__ddhc_8cc_source.html">model_ddhc.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a06bf8f8a9c6b5c4fffd4ef14c2470559"></a><!-- doxytag: member="DDHC::Model::columnCount" ref="a06bf8f8a9c6b5c4fffd4ef14c2470559" args="(const QModelIndex &amp;parent=QModelIndex()) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Model::columnCount </td>
          <td>(</td>
          <td class="paramtype">const QModelIndex &amp;&#160;</td>
          <td class="paramname"><em>parent</em> = <code>QModelIndex()</code></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="model__ddhc_8cc_source.html#l00197">197</a> of file <a class="el" href="model__ddhc_8cc_source.html">model_ddhc.cc</a>.</p>

</div>
</div>
<a class="anchor" id="ac17f7fabb4e11b580a54cfeca05108bd"></a><!-- doxytag: member="DDHC::Model::data" ref="ac17f7fabb4e11b580a54cfeca05108bd" args="(const QModelIndex &amp;index, int role=Qt::DisplayRole) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QVariant Model::data </td>
          <td>(</td>
          <td class="paramtype">const QModelIndex &amp;&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>role</em> = <code>Qt::DisplayRole</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="model__ddhc_8cc_source.html#l00206">206</a> of file <a class="el" href="model__ddhc_8cc_source.html">model_ddhc.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a2cf7b5e14916d7d5f3a0365e392bf7af"></a><!-- doxytag: member="DDHC::Model::endRowIns" ref="a2cf7b5e14916d7d5f3a0365e392bf7af" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Model::endRowIns </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>end row insertion </p>

<p>Definition at line <a class="el" href="model__ddhc_8cc_source.html#l00346">346</a> of file <a class="el" href="model__ddhc_8cc_source.html">model_ddhc.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a7dcb620b13ec960c7f512aced148def0"></a><!-- doxytag: member="DDHC::Model::flags" ref="a7dcb620b13ec960c7f512aced148def0" args="(const QModelIndex &amp;index) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Qt::ItemFlags Model::flags </td>
          <td>(</td>
          <td class="paramtype">const QModelIndex &amp;&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="model__ddhc_8cc_source.html#l00301">301</a> of file <a class="el" href="model__ddhc_8cc_source.html">model_ddhc.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a152f102133b71d54323a825bf2ca7c0c"></a><!-- doxytag: member="DDHC::Model::headerData" ref="a152f102133b71d54323a825bf2ca7c0c" args="(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QVariant Model::headerData </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>section</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Qt::Orientation&#160;</td>
          <td class="paramname"><em>orientation</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>role</em> = <code>Qt::DisplayRole</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="model__ddhc_8cc_source.html#l00278">278</a> of file <a class="el" href="model__ddhc_8cc_source.html">model_ddhc.cc</a>.</p>

</div>
</div>
<a class="anchor" id="af52699f56341975db10f5e268fb96d46"></a><!-- doxytag: member="DDHC::Model::index" ref="af52699f56341975db10f5e268fb96d46" args="(int row, int column, const QModelIndex &amp;parent=QModelIndex()) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QModelIndex Model::index </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>column</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QModelIndex &amp;&#160;</td>
          <td class="paramname"><em>parent</em> = <code>QModelIndex()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="model__ddhc_8cc_source.html#l00086">86</a> of file <a class="el" href="model__ddhc_8cc_source.html">model_ddhc.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a087ceafaf5b66acd8a31094d9626a2a2"></a><!-- doxytag: member="DDHC::Model::mInst" ref="a087ceafaf5b66acd8a31094d9626a2a2" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_d_d_h_c_1_1_model.html">Model</a>* DDHC::Model::mInst </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>get the one and running instance </p>

<p>Definition at line <a class="el" href="model__ddhc_8h_source.html#l00234">234</a> of file <a class="el" href="model__ddhc_8h_source.html">model_ddhc.h</a>.</p>

</div>
</div>
<a class="anchor" id="a10b62673f451fe79d9fba0a0543430f9"></a><!-- doxytag: member="DDHC::Model::mTree" ref="a10b62673f451fe79d9fba0a0543430f9" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static QTreeView* DDHC::Model::mTree </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>get the one and only tree view that's associated with the model </p>

<p>Definition at line <a class="el" href="model__ddhc_8h_source.html#l00246">246</a> of file <a class="el" href="model__ddhc_8h_source.html">model_ddhc.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0096581f6edabc89ac34a5fbf4b51460"></a><!-- doxytag: member="DDHC::Model::mTree_AdjCols" ref="a0096581f6edabc89ac34a5fbf4b51460" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Model::mTree_AdjCols </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>enshure that all columns are visible </p>

<p>Definition at line <a class="el" href="model__ddhc_8cc_source.html#l00484">484</a> of file <a class="el" href="model__ddhc_8cc_source.html">model_ddhc.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a2efa682eaae31fd5dcd311e2abf88a5f"></a><!-- doxytag: member="DDHC::Model::mTree_Expand" ref="a2efa682eaae31fd5dcd311e2abf88a5f" args="(MdlItem *itm)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Model::mTree_Expand </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_d_d_h_c_1_1_mdl_item.html">MdlItem</a> *&#160;</td>
          <td class="paramname"><em>itm</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>enshure that one tree node is visible </p>

<p>Definition at line <a class="el" href="model__ddhc_8cc_source.html#l00468">468</a> of file <a class="el" href="model__ddhc_8cc_source.html">model_ddhc.cc</a>.</p>

</div>
</div>
<a class="anchor" id="afbe2506aa76f1e77763302f396cca2cb"></a><!-- doxytag: member="DDHC::Model::mTree_ExpandAll" ref="afbe2506aa76f1e77763302f396cca2cb" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void DDHC::Model::mTree_ExpandAll </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>enshure that all tree nodes are visible </p>

<p>Definition at line <a class="el" href="model__ddhc_8h_source.html#l00322">322</a> of file <a class="el" href="model__ddhc_8h_source.html">model_ddhc.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad42ea4d5cd45376c48852e484614d3e9"></a><!-- doxytag: member="DDHC::Model::parent" ref="ad42ea4d5cd45376c48852e484614d3e9" args="(const QModelIndex &amp;child) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QModelIndex Model::parent </td>
          <td>(</td>
          <td class="paramtype">const QModelIndex &amp;&#160;</td>
          <td class="paramname"><em>child</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="model__ddhc_8cc_source.html#l00132">132</a> of file <a class="el" href="model__ddhc_8cc_source.html">model_ddhc.cc</a>.</p>

</div>
</div>
<a class="anchor" id="abc53afdd653897dba5d4096102ceba6e"></a><!-- doxytag: member="DDHC::Model::printTree" ref="abc53afdd653897dba5d4096102ceba6e" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Model::printTree </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>debug the tree </p>

<p>Definition at line <a class="el" href="model__ddhc_8cc_source.html#l00509">509</a> of file <a class="el" href="model__ddhc_8cc_source.html">model_ddhc.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a003fc9ff3ecd346036cf26440a51e26a"></a><!-- doxytag: member="DDHC::Model::remGhost" ref="a003fc9ff3ecd346036cf26440a51e26a" args="(Ghost *the_inst)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Model::remGhost </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_d_d_h_c_1_1_ghost.html">Ghost</a> *&#160;</td>
          <td class="paramname"><em>the_inst</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>one of the <a class="el" href="class_d_d_h_c_1_1_ghost.html" title="class to be inherited by the classes that need to be tracked">Ghost</a> instances is being deleted </p>

<p>Definition at line <a class="el" href="model__ddhc_8cc_source.html#l00450">450</a> of file <a class="el" href="model__ddhc_8cc_source.html">model_ddhc.cc</a>.</p>

</div>
</div>
<a class="anchor" id="aa96459983c0e50f593262c8e072a65c8"></a><!-- doxytag: member="DDHC::Model::remItem" ref="aa96459983c0e50f593262c8e072a65c8" args="(CInst *the_inst)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Model::remItem </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_d_d_h_c_1_1_c_inst.html">CInst</a> *&#160;</td>
          <td class="paramname"><em>the_inst</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>removes an item from the tree; the item is delete-d </p>

<p>Definition at line <a class="el" href="model__ddhc_8cc_source.html#l00406">406</a> of file <a class="el" href="model__ddhc_8cc_source.html">model_ddhc.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a5ae9d26acfb5d6df7bd52db3fa33ea2a"></a><!-- doxytag: member="DDHC::Model::rowCount" ref="a5ae9d26acfb5d6df7bd52db3fa33ea2a" args="(const QModelIndex &amp;parent=QModelIndex()) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Model::rowCount </td>
          <td>(</td>
          <td class="paramtype">const QModelIndex &amp;&#160;</td>
          <td class="paramname"><em>parent</em> = <code>QModelIndex()</code></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="model__ddhc_8cc_source.html#l00172">172</a> of file <a class="el" href="model__ddhc_8cc_source.html">model_ddhc.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a75377992605d3b51235020a5d630a357"></a><!-- doxytag: member="DDHC::Model::setData" ref="a75377992605d3b51235020a5d630a357" args="(const QModelIndex &amp;index, const QVariant &amp;value, int role=Qt::EditRole)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Model::setData </td>
          <td>(</td>
          <td class="paramtype">const QModelIndex &amp;&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QVariant &amp;&#160;</td>
          <td class="paramname"><em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>role</em> = <code>Qt::EditRole</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><dl class="todo"><dt><b><a class="el" href="todo.html#_todo000002">Todo:</a></b></dt><dd>change the data </dd></dl>
</p>

<p>Definition at line <a class="el" href="model__ddhc_8cc_source.html#l00258">258</a> of file <a class="el" href="model__ddhc_8cc_source.html">model_ddhc.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a38eddd054f38368408ccb96519eab427"></a><!-- doxytag: member="DDHC::Model::setMTree" ref="a38eddd054f38368408ccb96519eab427" args="(QTreeView *new_t)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void DDHC::Model::setMTree </td>
          <td>(</td>
          <td class="paramtype">QTreeView *&#160;</td>
          <td class="paramname"><em>new_t</em></td><td>)</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>set the one and only tree view that's associated with the model </p>

<p>Definition at line <a class="el" href="model__ddhc_8h_source.html#l00251">251</a> of file <a class="el" href="model__ddhc_8h_source.html">model_ddhc.h</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a4902f2b2eaaadf8d456c883b5e793bdb"></a><!-- doxytag: member="DDHC::Model::assoc_tree" ref="a4902f2b2eaaadf8d456c883b5e793bdb" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QTreeView * <a class="el" href="class_d_d_h_c_1_1_model.html#a4902f2b2eaaadf8d456c883b5e793bdb">Model::assoc_tree</a> = 0<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>the treeview that is associated with the model </p>

<p>Definition at line <a class="el" href="model__ddhc_8h_source.html#l00146">146</a> of file <a class="el" href="model__ddhc_8h_source.html">model_ddhc.h</a>.</p>

</div>
</div>
<a class="anchor" id="aeaf97bd3fecf1fb0df3ae42196f92b3a"></a><!-- doxytag: member="DDHC::Model::clst_lst" ref="aeaf97bd3fecf1fb0df3ae42196f92b3a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_d_d_h_c_1_1_classes.html">Classes</a> <a class="el" href="class_d_d_h_c_1_1_model.html#aeaf97bd3fecf1fb0df3ae42196f92b3a">DDHC::Model::clst_lst</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>list of classes embedded here </p>

<p>Definition at line <a class="el" href="model__ddhc_8h_source.html#l00154">154</a> of file <a class="el" href="model__ddhc_8h_source.html">model_ddhc.h</a>.</p>

</div>
</div>
<a class="anchor" id="afe800811bab6c46b245a641bd6c027d0"></a><!-- doxytag: member="DDHC::Model::tree_lst" ref="afe800811bab6c46b245a641bd6c027d0" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_d_d_h_c_1_1_tree.html">Tree</a> <a class="el" href="class_d_d_h_c_1_1_model.html#afe800811bab6c46b245a641bd6c027d0">DDHC::Model::tree_lst</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>list of documents embedded here </p>

<p>Definition at line <a class="el" href="model__ddhc_8h_source.html#l00150">150</a> of file <a class="el" href="model__ddhc_8h_source.html">model_ddhc.h</a>.</p>

</div>
</div>
<a class="anchor" id="a26ad932b5d85d79661f80979df1dc1ce"></a><!-- doxytag: member="DDHC::Model::uniq_model_instance" ref="a26ad932b5d85d79661f80979df1dc1ce" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_d_d_h_c_1_1_model.html">Model</a> * <a class="el" href="class_d_d_h_c_1_1_model.html#a26ad932b5d85d79661f80979df1dc1ce">Model::uniq_model_instance</a> = 0<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>the one and only instance </p>

<p>Definition at line <a class="el" href="model__ddhc_8h_source.html#l00142">142</a> of file <a class="el" href="model__ddhc_8h_source.html">model_ddhc.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="model__ddhc_8h_source.html">model_ddhc.h</a></li>
<li><a class="el" href="model__ddhc_8cc_source.html">model_ddhc.cc</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><b>DDHC</b>      </li>
      <li class="navelem"><a class="el" href="class_d_d_h_c_1_1_model.html">Model</a>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

    <li class="footer">Generated on Sun Oct 23 2011 22:06:50 for EquTemper by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </li>
   </ul>
 </div>
</body>
</html>
